"""
添加线索页面类
"""
from ..base_page import BasePage
from selenium.webdriver.common.by import By
from selenium.webdriver.support.select import Select

class CountCluePage(BasePage):
    #数据
    url="/crm/index.php?m=leads&a=analytics"
    #定位器
    count_clue_locator = (By.LINK_TEXT, "选择统计内容")
    #方法
    def count_clue(self):
        return self.find_element(self.count_clue_locator).text

